#pragma once

#include "MapLayerDrawProperties.h"

class CDeviceContext
{
public:
	CDeviceContext(){};
	virtual ~CDeviceContext() = 0{};
	virtual void drawPoint(double x, double y) = 0;
	virtual void ellipse(double x1,double y1,double x2,double y2) = 0;
	virtual void line(double x1,double y1,double x2,double y2) = 0;
	virtual void invalidate(){};
    virtual void setDrawProperties(CMapLayerDrawProperties drawProperties)=0;
    virtual void restore() =0;
};
